home *** CD-ROM | disk | FTP | other *** search
-
- ;*========================================================================
- ;*
- ;* AESFAST GEM bindings.
- ;* 12/03/89 - v1.4: New.
- ;*========================================================================
-
- .include "aesfast.sh"
-
- ;*************************************************************************
- ;*
- ;* Extended Window manager routines 2 of 2.
- ;*
- ;*************************************************************************
-
- ;-------------------------------------------------------------------------
- ; winx_get
- ;-------------------------------------------------------------------------
-
- _winx_get::
- .cargs #8,.handle,.field,.output.l
-
- link a6,#-10
- AControl 104,2,5,0
-
- moveq.l #-10,d2
- lea .handle(a6),a1
- ACall RET2HERE
-
- move.l .output(a6),a1
- return4:
- lea -10(a6),a0
- move.w (a0)+,d0
- move.l (a0)+,(a1)+
- move.l (a0),(a1)
- tst.w d0
- unlk a6
- rts
-
- ;-------------------------------------------------------------------------
- ; winx_calc
- ;-------------------------------------------------------------------------
-
- _winx_calc::
- .cargs #8,.i1,.i2,.i3,.i4,.i5,.i6,.output.l
-
- link a6,#-10
-
- AControl 108,6,5,0
-
- moveq.l #-10,d2
- lea .i1(a6),a1
- ACall RET2HERE
-
- move.l .output(a6),a1
- bra.s return4
-
- ; end of code
-
-